var day = parseInt(form.day.value, 10);